package TransactionImplementation

import (
	"SalaryPayment/AbstractTransaction"
	"SalaryPayment/Model"
	"SalaryPayment/ModelImplementation"
)

type ChangeHourlyTransaction struct {
	itsHourlyRate float64
	AbstractTransactions.ChangeClassificationTransaction
}

func(cht *ChangeHourlyTransaction) GetClassification() Model.PaymentClassification {
	return ModelImplementation.NewHourlyClassification(cht.itsHourlyRate)
}

func(cht *ChangeHourlyTransaction) GetSchedule() {
	return ModelImplementation.BiWeeklySchedule()
}